package com.develop.skwen.electricgomall.find.list;

import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.develop.skwen.basemodule.list.BaseAdapter;
import com.develop.skwen.basemodule.list.BaseHolder;
import com.develop.skwen.electricgomall.R;
import com.develop.skwen.electricgomall.find.list.holder.FindHolder;
import com.develop.skwen.electricgomall.find.model.FindBean;

import java.util.List;

/**
 * Created by skwen on 2018/7/8.
 */

public class FindListAdapter extends BaseAdapter<FindBean> {



    public FindListAdapter(List<FindBean> list) {
        super(list);
    }

    @Override
    protected BaseHolder getViewHolder(LayoutInflater inflater, ViewGroup parent, int viewType) {
        return new FindHolder(inflater.inflate(R.layout.find_list_item_layout,parent,false));
    }
}
